// English language pack
export default {
  common: {
    search: 'Search',
    cancel: 'Cancel',
    confirm: 'Confirm',
    save: 'Save',
    delete: 'Delete',
    edit: 'Edit',
    create: 'Create',
    upload: 'Upload',
    settings: 'Settings',
    close: 'Close',
    submit: 'Submit',
    loading: 'Loading...',
    noData: 'No Data',
    success: 'Success',
    error: 'Error',
    warning: 'Warning',
    info: 'Information',
    yes: 'Yes',
    no: 'No',
    back: 'Back',
    next: 'Next',
    previous: 'Previous',
    retry: 'Retry',
  },
  
  app: {
    title: 'Chat Assistant',
    logout: 'Logout',
    logoutFailed: 'Logout Failed',
    logoutRequestFailed: 'Logout Request Failed',
  },
  
  nav: {
    chat: 'Chat',
    users: 'User Management',
    knowledge: 'Knowledge Base',
    inventory: 'Inventory Management',
  },
  
  login: {
    title: 'AI Assistant Login',
    username: 'Username',
    password: 'Password',
    usernamePlaceholder: 'Enter your username',
    passwordPlaceholder: 'Enter your password',
    submit: 'Login',
    loggingIn: 'Logging in...',
    loginButton: 'Login',
    usernameRequired: 'Please enter username',
    passwordRequired: 'Please enter password',
    failed: 'Login failed',
    error: 'Login error:',
    requestFailed: 'Login request failed',
    noAccount: 'Don\'t have an account?',
    register: 'Register',
    loginFailed: 'Login Failed',
    loginError: 'Login Request Failed',
  },
  
  chat: {
    newChat: 'New Chat',
    deleteChat: 'Delete Chat',
    renameChat: 'Rename',
    inputPlaceholder: 'Type a message',
    send: 'Send',
    stop: 'Stop',
    welcomeMessage: 'Hello! I\'m AI Assistant, how can I help you?',
    emptyChat: 'Welcome to AI Assistant',
    emptyDescription: 'Start a new conversation by typing a message below',
    messageSendError: 'Failed to send message',
    newSession: 'New Conversation',
    sendError: 'Failed to send message',
    createSessionError: 'Failed to create new session',
  },
  
  message:{
    copyCode: 'Copy'

  },
  user: {
    management: 'User Management',
    addUser: 'Add User',
    modifyPermission: 'Modify Permission',
    deleteUser: 'Delete User',
    deleteConfirm: 'Are you sure you want to delete this user?',
    deleteSuccess: 'Successfully deleted',
    deleteFailed: 'Delete failed',
    networkError: 'Delete failed, please check network connection',
    id: 'ID',
    nickname: 'Nickname',
    account: 'Account',
    actions: 'Actions',
    noActions: '-',
    superAdmin: 'Super Admin',
  },
  
  userForm: {
    addTitle: 'Add User',
    account: 'Account',
    password: 'Password',
    confirmPassword: 'Confirm Password',
    nickname: 'Nickname',
    addButton: 'Add User',
    emptyFields: 'Account, password, confirm password and nickname cannot be empty',
    passwordLength: 'Password must be at least 6 characters',
    passwordMismatch: 'Passwords do not match',
    createSuccess: 'User created successfully!',
    createFailed: 'Failed to create user',
    networkError: 'Network request failed, please try again later',
  },
  
  roleForm: {
    title: 'Modify User Permission',
    selectRole: 'Select Permission',
    admin: 'Administrator',
    user: 'Regular User',
    modifySuccess: 'Permission modified successfully',
    modifyFailed: 'Modification failed',
    networkError: 'Failed to modify permission, please check network connection',
  },
  
  knowledge: {
    title: 'Knowledge Base Management',
    createKnowledge: 'Create Knowledge Base',
    uploadFile: 'Upload File',
    createTitle: 'Create New Knowledge Base',
    nameLabel: 'Name',
    namePlaceholder: 'Enter knowledge base name',
    noFiles: 'No files',
    fileType: 'Type',
    fileSize: 'Size',
    deleteFile: 'Delete',
    prevPage: 'Previous',
    nextPage: 'Next',
    pageInfo: 'Page {current} / {total}',
  },
  
  upload: {
    title: 'Upload Knowledge Base File',
    selectKnowledge: 'Select Knowledge Base:',
    selectKnowledgePlaceholder: 'Please select a knowledge base',
    selectFile: 'Select File:',
    uploading: 'Uploading...',
    uploadSuccess: 'File uploaded successfully',
    uploadFailed: 'Upload failed',
    networkError: 'Failed to upload file, please check network connection',
  },
  
  settings: {
    title: 'Knowledge Base Settings',
    pageSize: 'Items per page',
    pageNum: 'Default page number',
  },
  
  pagination: {
    prev: 'Previous',
    next: 'Next',
    page: 'Page',
    of: 'of',
    total: 'Total',
  }
}